package com.jeesite.modules.warehousearea.dao;

import com.jeesite.common.dao.CrudDao;
import com.jeesite.common.mybatis.annotation.MyBatisDao;
import com.jeesite.modules.common.vo.CommonSelectDataVO;
import com.jeesite.modules.warehouse.entity.Warehouse;
import com.jeesite.modules.warehousearea.entity.WarehouseArea;
import com.jeesite.modules.warehousearea.entity.qo.WarehouseAreaQO;
import com.jeesite.modules.warehousearea.entity.vo.WarehouseAreaVO;

import java.util.ArrayList;
import java.util.List;

/**
 * 库区档案DAO接口
 * @author 码脑洞
 * @version 2025-04-08
 */
@MyBatisDao
public interface WarehouseAreaDao extends CrudDao<WarehouseArea> {

	List<WarehouseAreaVO> findWarehouseAreaPage(WarehouseAreaQO warehouseAreaQO);

	List<CommonSelectDataVO> selectWarehouseAreaList();

	WarehouseArea findWarehouseAreaCodeOrName(WarehouseArea warehouseArea);
	List<WarehouseArea> findWarehouseAreaList(ArrayList<String> strings);

	WarehouseArea getWarehouseArea(WarehouseArea warehouseArea);

	List<WarehouseArea> findWarehouseAreaListByNames(ArrayList<String> areaNames);
}